package com.gccloud.design.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author kuang.fei
 * @date 2021/5/7 10:34
 * @describe
 */
@Data
@Accessors(chain = true)
@ApiModel("环节库表")
@TableName("BWP_ACTIVITY_REPO")
@ToString(callSuper = true)
public class BwpActivityRepoEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID")
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 业务类型ID
     */
    @ApiModelProperty(value = "业务类型ID")
    @TableField("BUSINESS_TYPE_ID")
    private Integer businessTypeId;
    /**
     * 业务类型名称
     */
    @ApiModelProperty(value = "业务类型名称")
    @TableField("BUSINESS_TYPE_NAME")
    private String businessTypeName;
    /**
     * 环节库ID
     */
    @TableField("REPO_ID")
    @ApiModelProperty(value = "环节库ID")
    private String repoId;
    /**
     * 环节ID
     */
    @TableField("ACTIVITY_ID")
    @ApiModelProperty(value = "环节ID")
    private String activityId;
    /**
     * 环节名称
     */
    @TableField("ACTIVITY_NAME")
    @ApiModelProperty(value = "环节名称")
    private String activityName;
    /**
     * ACTIVITY_TYPE环节类型:toolApp自动环节，人工环节manual
     */
    @TableField("ACTIVITY_TYPE")
    @ApiModelProperty(value = "ACTIVITY_TYPE环节类型:toolApp自动环节，人工环节manual")
    private String activityType;
    /**
     * 描述
     */
    @TableField("DESCRIPTION")
    @ApiModelProperty(value = "描述")
    private String description;
    /**
     * 环节内容
     */
    @TableField("CONTENT")
    @ApiModelProperty(value = "环节内容")
    private String content;
    /**
     * 操作列表
     */
    @TableField("OPERATION_LIST")
    @ApiModelProperty(value = "操作列表")
    private String operationList;
    /**
     * 页面模板ID
     */
    @TableField("FORM_ID")
    @ApiModelProperty(value = "页面模板ID")
    private Integer formId;
    /**
     * 版本号
     */
    @TableField("VERSION")
    @ApiModelProperty(value = "版本号")
    private String version;
    /**
     * 删除标识
     */
    @TableField("DEL_FLAG")
    @ApiModelProperty(value = "删除标识")
    private Integer delFlag;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private String createTime;
    /**
     * 创建人
     */
    @TableField("CREATE_USER")
    @ApiModelProperty(value = "创建人")
    private String createUser;
    /**
     * 更新时间
     */
    @TableField("UPDATE_TIME")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("更新时间")
    private String updateTime;

    /**
     * 更新人
     */
    @TableField("UPDATE_USER")
    @ApiModelProperty(value = "更新人")
    private String updateUser;
    /**
     * 分库字段
     */
    @TableField("SHARDING_ID")
    @ApiModelProperty(value = "分库字段")
    private Integer shardingId;
}
